package com.imyours.model.announcement;

import java.util.Date;

import com.imyours.model.user.UserEntity;

/**公告实体
 * @author SLevenc
 *
 */
public class Announcement {

	/**
	 * 主键
	 */
	private long id;
	/**
	 * 发布日期
	 */
	private Date date;
	/**
	 * 发布内容
	 */
	private String content;
	/**
	 * 发布人
	 */
	private UserEntity sender;

	
	
	
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public UserEntity getSender() {
		return sender;
	}

	public void setSender(UserEntity sender) {
		this.sender = sender;
	}

}
